package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * SOSHIPHEAD 发运指令主表
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-13
 */
@TableName("SOSHIPHEAD")
public class Soshiphead extends Model<Soshiphead> {

    private static final long serialVersionUID = 1L;

	/**
	 * 出场操作员
	 */
	private String vcoutwarehouseuser;

	/**
	 * 出场时间
	 */
	private Date dtoutwarehouse;

	/**
	 * 主键序号
	 */
	@TableId(type = IdType.INPUT)
	private Long ilineid;

	/**
	 * 发运指令号
	 */
	private String vcshipno;

	/**
	 * 生成指令时间
	 */
	private Date dtdate;

	/**
	 * 发运指令类型(0:重载、1空载、2待班)
	 */
	private Long itype;

	/**
	 * 待班天数
	 */
	private Long iwaitday;

	/**
	 * 待班城市
	 */
	private String vcwaitcityname;

	/**
	 * 运输车序号
	 */
	private Long ivehicleid;

	/**
	 * 主驾司机序号
	 */
	private Long idriverid;

	/**
	 * 副驾司机序号
	 */
	private Long idriverid2;

	/**
	 * 车牌号
	 */
	private String vclicense;

	/**
	 * 承运车队
	 */
	private Long ifleetid;

	/**
	 * 调度员
	 */
	private String vcuserno;

	/**
	 * 空放审核标志(0:未审核,1.0:已审核,1.1审核通过)
	 */
	private Long icheck;

	/**
	 * 审核时间
	 */
	private Date dtcheckdate;

	/**
	 * 审核人
	 */
	private String vccheckuserno;

	/**
	 * 审核意见
	 */
	private String vccheckmemo;

	/**
	 * 装车类型(0:单排，1双排)
	 */
	private Long iassigntype;

	/**
	 * 状态标志(0:未回单,1:已回单)
	 */
	private Long breturn;

	/**
	 * 回单时间
	 */
	private Date dtreturn;

	/**
	 * 回单人编号
	 */
	private String vcreturnuserno;

	/**
	 * 核销标志(0:未核销,1:已核销)
	 */
	private Long bfinish;

	/**
	 * 核销时间
	 */
	private Date dtfinish;

	/**
	 * 核销人编号
	 */
	private String vcfinishuserno;

	/**
	 * 核销备注
	 */
	private String vcfinishmemo;

	/**
	 * 核销单号
	 */
	private String vccheckno;

	/**
	 * 备注
	 */
	private String vcmemo;

	/**
	 * 是否短信通知(0:否,1:是)
	 */
	private Double bsendinfo;

	/**
	 * 最后一次通知时间
	 */
	private Date dtsendinfo;

	/**
	 * 所属部门
	 */
	private Long ideptid;

	/**
	 * 待班在驻点(0非驻点,1驻点)
	 */
	private Long bfleetcity;

	/**
	 * 车辆归属标志(0，内部，1：外协)
	 */
	private Long ifleettypeid;

	/**
	 * 未核销说明
	 */
	private String vcneedcheckmemo;

	/**
	 * 需要核销标志(0需要，1：不需要)
	 */
	private Long bneedcheck;

	/**
	 * 由父级指令生成的待班
	 */
	private String vcwaitshipid;

	/**
	 * 下个目的地
	 */
	private String vcnextdest;

	/**
	 * 下个目的地维护人
	 */
	private String vcnextuserno;

	/**
	 * 前一个指令id
	 */
	private Long iplineid;

	/**
	 * 打款标志(0:没打,1:已打)
	 */
	private Long bsend;

	/**
	 * 满载状态(0:未满载;1:已满载)
	 */
	private Long imz;

	/**
	 * 指令审核状态(0:未审核;1:已审核)
	 */
	private Long bcheckem;

	/**
	 * 所属车队2
	 */
	private Long ifleetid2;

	/**
	 * 是否临时合同
	 */
	private Long btemp;

	/**
	 * 临时合同账期
	 */
	private Long dccount;

	/**
	 * 临时合同支付方式
	 */
	private Long ipayid;

	/**
	 * 临时合同其它费用
	 */
	private Double dcother;

	/**
	 * 临时合同代付保险
	 */
	private Double dcinsure;

	/**
	 * 临时合同代付其它
	 */
	private Double dcreother;

	/**
	 * 临时合同预付
	 */
	private Double dcrepay;

	/**
	 * 审核人2
	 */
	private String vcchecktempuserno;

	/**
	 * 是否打印(1:已打印,0:没打印)
	 */
	private Double bprint;

	/**
	 * 打印时间
	 */
	private Date dtprint;

	/**
	 * 打印人
	 */
	private String vcprintuserno;

	/**
	 * TMS指令主表id
	 */
	private Long itmsid;

	/**
	 * 入场
	 */
	private Long iarriveid;

	/**
	 * 运力入场确定人
	 */
	private String vcarriveuserno;

	/**
	 * 抵达时间
	 */
	private Date dtarrive;

	/**
	 * 油款打款标志(0:没打,1:已打)
	 */
	private Long boil;

	/**
	 * 无效1
	 */
	private Long ietypeid;

	/**
	 * 是否导入安联系统(0:否,1:是)
	 */
	private Long bimp;

	/**
	 * 运输模式
	 */
	private Long imodeid;

	/**
	 * 司机名称
	 */
	private String vcdrivername;

	/**
	 * 移动电话
	 */
	private String vcmobile;

	/**
	 * ${field.comment}
	 */
	@TableField(value="IVEHICLE_CLASS")
	private Double ivehicleClass;

	/**
	 * ${field.comment}
	 */
	@TableField(value="IRATE_OF_VEHICLE")
	private Double irateOfVehicle;

	/**
	 * 运输工具类型，对应smvehicle.i_yltype和smCapacitytype.ilineid
	 */
	private Double icapacity;

	/**
	 * 实际配板方案类型，关联smCapacitytype.ilineid
	 */
	@TableField(value="ISCHEMA_TYPE")
	private Double ischemaType;



	public String getVcoutwarehouseuser() {
		return vcoutwarehouseuser;
	}

	public void setVcoutwarehouseuser(String vcoutwarehouseuser) {
		this.vcoutwarehouseuser = vcoutwarehouseuser;
	}

	public Date getDtoutwarehouse() {
		return dtoutwarehouse;
	}

	public void setDtoutwarehouse(Date dtoutwarehouse) {
		this.dtoutwarehouse = dtoutwarehouse;
	}

	public Long getIlineid() {
		return ilineid;
	}

	public void setIlineid(Long ilineid) {
		this.ilineid = ilineid;
	}

	public String getVcshipno() {
		return vcshipno;
	}

	public void setVcshipno(String vcshipno) {
		this.vcshipno = vcshipno;
	}

	public Date getDtdate() {
		return dtdate;
	}

	public void setDtdate(Date dtdate) {
		this.dtdate = dtdate;
	}

	public Long getItype() {
		return itype;
	}

	public void setItype(Long itype) {
		this.itype = itype;
	}

	public Long getIwaitday() {
		return iwaitday;
	}

	public void setIwaitday(Long iwaitday) {
		this.iwaitday = iwaitday;
	}

	public String getVcwaitcityname() {
		return vcwaitcityname;
	}

	public void setVcwaitcityname(String vcwaitcityname) {
		this.vcwaitcityname = vcwaitcityname;
	}

	public Long getIvehicleid() {
		return ivehicleid;
	}

	public void setIvehicleid(Long ivehicleid) {
		this.ivehicleid = ivehicleid;
	}

	public Long getIdriverid() {
		return idriverid;
	}

	public void setIdriverid(Long idriverid) {
		this.idriverid = idriverid;
	}

	public Long getIdriverid2() {
		return idriverid2;
	}

	public void setIdriverid2(Long idriverid2) {
		this.idriverid2 = idriverid2;
	}

	public String getVclicense() {
		return vclicense;
	}

	public void setVclicense(String vclicense) {
		this.vclicense = vclicense;
	}

	public Long getIfleetid() {
		return ifleetid;
	}

	public void setIfleetid(Long ifleetid) {
		this.ifleetid = ifleetid;
	}

	public String getVcuserno() {
		return vcuserno;
	}

	public void setVcuserno(String vcuserno) {
		this.vcuserno = vcuserno;
	}

	public Long getIcheck() {
		return icheck;
	}

	public void setIcheck(Long icheck) {
		this.icheck = icheck;
	}

	public Date getDtcheckdate() {
		return dtcheckdate;
	}

	public void setDtcheckdate(Date dtcheckdate) {
		this.dtcheckdate = dtcheckdate;
	}

	public String getVccheckuserno() {
		return vccheckuserno;
	}

	public void setVccheckuserno(String vccheckuserno) {
		this.vccheckuserno = vccheckuserno;
	}

	public String getVccheckmemo() {
		return vccheckmemo;
	}

	public void setVccheckmemo(String vccheckmemo) {
		this.vccheckmemo = vccheckmemo;
	}

	public Long getIassigntype() {
		return iassigntype;
	}

	public void setIassigntype(Long iassigntype) {
		this.iassigntype = iassigntype;
	}

	public Long getBreturn() {
		return breturn;
	}

	public void setBreturn(Long breturn) {
		this.breturn = breturn;
	}

	public Date getDtreturn() {
		return dtreturn;
	}

	public void setDtreturn(Date dtreturn) {
		this.dtreturn = dtreturn;
	}

	public String getVcreturnuserno() {
		return vcreturnuserno;
	}

	public void setVcreturnuserno(String vcreturnuserno) {
		this.vcreturnuserno = vcreturnuserno;
	}

	public Long getBfinish() {
		return bfinish;
	}

	public void setBfinish(Long bfinish) {
		this.bfinish = bfinish;
	}

	public Date getDtfinish() {
		return dtfinish;
	}

	public void setDtfinish(Date dtfinish) {
		this.dtfinish = dtfinish;
	}

	public String getVcfinishuserno() {
		return vcfinishuserno;
	}

	public void setVcfinishuserno(String vcfinishuserno) {
		this.vcfinishuserno = vcfinishuserno;
	}

	public String getVcfinishmemo() {
		return vcfinishmemo;
	}

	public void setVcfinishmemo(String vcfinishmemo) {
		this.vcfinishmemo = vcfinishmemo;
	}

	public String getVccheckno() {
		return vccheckno;
	}

	public void setVccheckno(String vccheckno) {
		this.vccheckno = vccheckno;
	}

	public String getVcmemo() {
		return vcmemo;
	}

	public void setVcmemo(String vcmemo) {
		this.vcmemo = vcmemo;
	}

	public Double getBsendinfo() {
		return bsendinfo;
	}

	public void setBsendinfo(Double bsendinfo) {
		this.bsendinfo = bsendinfo;
	}

	public Date getDtsendinfo() {
		return dtsendinfo;
	}

	public void setDtsendinfo(Date dtsendinfo) {
		this.dtsendinfo = dtsendinfo;
	}

	public Long getIdeptid() {
		return ideptid;
	}

	public void setIdeptid(Long ideptid) {
		this.ideptid = ideptid;
	}

	public Long getBfleetcity() {
		return bfleetcity;
	}

	public void setBfleetcity(Long bfleetcity) {
		this.bfleetcity = bfleetcity;
	}

	public Long getIfleettypeid() {
		return ifleettypeid;
	}

	public void setIfleettypeid(Long ifleettypeid) {
		this.ifleettypeid = ifleettypeid;
	}

	public String getVcneedcheckmemo() {
		return vcneedcheckmemo;
	}

	public void setVcneedcheckmemo(String vcneedcheckmemo) {
		this.vcneedcheckmemo = vcneedcheckmemo;
	}

	public Long getBneedcheck() {
		return bneedcheck;
	}

	public void setBneedcheck(Long bneedcheck) {
		this.bneedcheck = bneedcheck;
	}

	public String getVcwaitshipid() {
		return vcwaitshipid;
	}

	public void setVcwaitshipid(String vcwaitshipid) {
		this.vcwaitshipid = vcwaitshipid;
	}

	public String getVcnextdest() {
		return vcnextdest;
	}

	public void setVcnextdest(String vcnextdest) {
		this.vcnextdest = vcnextdest;
	}

	public String getVcnextuserno() {
		return vcnextuserno;
	}

	public void setVcnextuserno(String vcnextuserno) {
		this.vcnextuserno = vcnextuserno;
	}

	public Long getIplineid() {
		return iplineid;
	}

	public void setIplineid(Long iplineid) {
		this.iplineid = iplineid;
	}

	public Long getBsend() {
		return bsend;
	}

	public void setBsend(Long bsend) {
		this.bsend = bsend;
	}

	public Long getImz() {
		return imz;
	}

	public void setImz(Long imz) {
		this.imz = imz;
	}

	public Long getBcheckem() {
		return bcheckem;
	}

	public void setBcheckem(Long bcheckem) {
		this.bcheckem = bcheckem;
	}

	public Long getIfleetid2() {
		return ifleetid2;
	}

	public void setIfleetid2(Long ifleetid2) {
		this.ifleetid2 = ifleetid2;
	}

	public Long getBtemp() {
		return btemp;
	}

	public void setBtemp(Long btemp) {
		this.btemp = btemp;
	}

	public Long getDccount() {
		return dccount;
	}

	public void setDccount(Long dccount) {
		this.dccount = dccount;
	}

	public Long getIpayid() {
		return ipayid;
	}

	public void setIpayid(Long ipayid) {
		this.ipayid = ipayid;
	}

	public Double getDcother() {
		return dcother;
	}

	public void setDcother(Double dcother) {
		this.dcother = dcother;
	}

	public Double getDcinsure() {
		return dcinsure;
	}

	public void setDcinsure(Double dcinsure) {
		this.dcinsure = dcinsure;
	}

	public Double getDcreother() {
		return dcreother;
	}

	public void setDcreother(Double dcreother) {
		this.dcreother = dcreother;
	}

	public Double getDcrepay() {
		return dcrepay;
	}

	public void setDcrepay(Double dcrepay) {
		this.dcrepay = dcrepay;
	}

	public String getVcchecktempuserno() {
		return vcchecktempuserno;
	}

	public void setVcchecktempuserno(String vcchecktempuserno) {
		this.vcchecktempuserno = vcchecktempuserno;
	}

	public Double getBprint() {
		return bprint;
	}

	public void setBprint(Double bprint) {
		this.bprint = bprint;
	}

	public Date getDtprint() {
		return dtprint;
	}

	public void setDtprint(Date dtprint) {
		this.dtprint = dtprint;
	}

	public String getVcprintuserno() {
		return vcprintuserno;
	}

	public void setVcprintuserno(String vcprintuserno) {
		this.vcprintuserno = vcprintuserno;
	}

	public Long getItmsid() {
		return itmsid;
	}

	public void setItmsid(Long itmsid) {
		this.itmsid = itmsid;
	}

	public Long getIarriveid() {
		return iarriveid;
	}

	public void setIarriveid(Long iarriveid) {
		this.iarriveid = iarriveid;
	}

	public String getVcarriveuserno() {
		return vcarriveuserno;
	}

	public void setVcarriveuserno(String vcarriveuserno) {
		this.vcarriveuserno = vcarriveuserno;
	}

	public Date getDtarrive() {
		return dtarrive;
	}

	public void setDtarrive(Date dtarrive) {
		this.dtarrive = dtarrive;
	}

	public Long getBoil() {
		return boil;
	}

	public void setBoil(Long boil) {
		this.boil = boil;
	}

	public Long getIetypeid() {
		return ietypeid;
	}

	public void setIetypeid(Long ietypeid) {
		this.ietypeid = ietypeid;
	}

	public Long getBimp() {
		return bimp;
	}

	public void setBimp(Long bimp) {
		this.bimp = bimp;
	}

	public Long getImodeid() {
		return imodeid;
	}

	public void setImodeid(Long imodeid) {
		this.imodeid = imodeid;
	}

	public String getVcdrivername() {
		return vcdrivername;
	}

	public void setVcdrivername(String vcdrivername) {
		this.vcdrivername = vcdrivername;
	}

	public String getVcmobile() {
		return vcmobile;
	}

	public void setVcmobile(String vcmobile) {
		this.vcmobile = vcmobile;
	}

	public Double getIvehicleClass() {
		return ivehicleClass;
	}

	public void setIvehicleClass(Double ivehicleClass) {
		this.ivehicleClass = ivehicleClass;
	}

	public Double getIrateOfVehicle() {
		return irateOfVehicle;
	}

	public void setIrateOfVehicle(Double irateOfVehicle) {
		this.irateOfVehicle = irateOfVehicle;
	}

	public Double getIcapacity() {
		return icapacity;
	}

	public void setIcapacity(Double icapacity) {
		this.icapacity = icapacity;
	}

	public Double getIschemaType() {
		return ischemaType;
	}

	public void setIschemaType(Double ischemaType) {
		this.ischemaType = ischemaType;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}
}
